package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Major;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MajorMapper {

    //搜索查询功能
    List<Major> selectMajorList(Major major);

    //添加专业功能
    int insertMajor(Major major);

    //批量删除专业功能
    int deleteMajor(Major major);

    int updateMajor(Major major);

    List<Major> selectPostList(Major major);

    int deletePostByIds(Long[] postIds);
}
